<!--
Copyright (c) Microsoft Corporation.  All rights reserved.
-->

<ResourceDictionary
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:System="clr-namespace:System;assembly=mscorlib">

  <!-- Common colors -->

<!-- 87 percent Black -->
<Color x:Key="PhoneForegroundColor">#DE000000</Color>

<!-- 100 percent White-->
<Color x:Key="PhoneBackgroundColor">#FFFFFFFF</Color>

<!-- 100 percent White-->
<Color x:Key="PhoneContrastForegroundColor">#FFFFFFFF</Color>

<!-- 87 percent Black -->
<Color x:Key="PhoneContrastBackgroundColor">#DE000000</Color>

<!-- 30 percent Black -->
<Color x:Key="PhoneDisabledColor">#4D000000</Color>

<!-- 10 percent Black -->
<Color x:Key="PhoneProgressBarBackgroundColor">#19000000</Color>


<!-- TextBox colors -->

<!-- 87 percent Black -->
<Color x:Key="PhoneTextCaretColor">#DE000000</Color>

<!-- 15 percent Black -->
<Color x:Key="PhoneTextBoxColor">#26000000</Color>

<!-- 87 percent Black -->
<Color x:Key="PhoneTextBoxForegroundColor">#DE000000</Color>

<!-- Transparent -->
<Color x:Key="PhoneTextBoxEditBackgroundColor">#00000000</Color>

<!-- 30 percent Black -->
<Color x:Key="PhoneTextBoxReadOnlyColor">#2E000000</Color>

<!-- 40 percent Black -->
<Color x:Key="PhoneSubtleColor">#66000000</Color>

<!-- 100 percent White -->
<Color x:Key="PhoneTextBoxSelectionForegroundColor">#FFFFFFFF</Color>


<!-- ButtonBase colors -->

<!-- 100 percent White -->
<Color x:Key="PhoneButtonBasePressedForegroundColor">#FFFFFFFF</Color>

<!--Windows Phone 8 Text Colors-->

<!-- 87% percent Black -->
<Color x:Key="PhoneTextHighContrastColor">#DE000000</Color>

<!-- 60 percent Black -->
<Color x:Key="PhoneTextMidContrastColor">#73000000</Color>

<!-- 30 percent Black -->
<Color x:Key="PhoneTextLowContrastColor">#40000000</Color>


<!-- Special colors -->

<!-- 66 percent transparent -->
<Color x:Key="PhoneSemitransparentColor">#AAFFFFFF</Color>

<!-- System chrome color -->
<Color x:Key="PhoneChromeColor">#FFDDDDDD</Color>



<!-- Deprecated colors -->

<!-- 20 percent Black -->
<Color x:Key="PhoneInactiveColor">#33000000</Color>

<!-- Inverse inactive background color -->
<Color x:Key="PhoneInverseInactiveColor">#FFE5E5E5</Color>

<!-- Inverse background color -->
<Color x:Key="PhoneInverseBackgroundColor">#FFDDDDDD</Color>

<!-- 60 percent Black -->
<Color x:Key="PhoneBorderColor">#99000000</Color>



<!-- Visibility -->
<Visibility x:Key="PhoneDarkThemeVisibility">Collapsed</Visibility>
<Visibility x:Key="PhoneLightThemeVisibility">Visible</Visibility>



<!-- Opacity -->
<System:Double x:Key="PhoneDarkThemeOpacity">0</System:Double>
<System:Double x:Key="PhoneLightThemeOpacity">1</System:Double>
<System:Double x:Key="PhonePivotUnselectedItemOpacity">0.23144</System:Double>
<!-- Resolution-specific resources -->

<!--54pt-->
<System:Double x:Key="PivotHeaderFontSize">72</System:Double>

<Thickness x:Key="PivotItemMargin">12,28,12,0</Thickness>

<SolidColorBrush x:Key="PhoneForegroundBrush" Color="{StaticResource PhoneForegroundColor}"/>

<SolidColorBrush x:Key="PhoneBackgroundBrush" Color="{StaticResource PhoneBackgroundColor}"/>

<SolidColorBrush x:Key="PhoneContrastForegroundBrush" Color="{StaticResource PhoneContrastForegroundColor}"/>

<SolidColorBrush x:Key="PhoneContrastBackgroundBrush" Color="{StaticResource PhoneContrastBackgroundColor}"/>

<SolidColorBrush x:Key="PhoneTextCaretBrush" Color="{StaticResource PhoneTextCaretColor}"/>

<SolidColorBrush x:Key="PhoneTextBoxBrush" Color="{StaticResource PhoneTextBoxColor}"/>

<SolidColorBrush x:Key="PhoneTextBoxForegroundBrush" Color="{StaticResource PhoneTextBoxForegroundColor}"/>

<SolidColorBrush x:Key="PhoneTextBoxEditBackgroundBrush" Color="{StaticResource PhoneTextBoxEditBackgroundColor}"/>

<SolidColorBrush x:Key="PhoneTextBoxEditBorderBrush" Color="{StaticResource PhoneAccentColor}"/>

<SolidColorBrush x:Key="PhoneTextBoxReadOnlyBrush" Color="{StaticResource PhoneTextBoxReadOnlyColor}"/>

<SolidColorBrush x:Key="PhoneTextBoxSelectionForegroundBrush" Color="{StaticResource PhoneTextBoxSelectionForegroundColor}"/>

<SolidColorBrush x:Key="PhoneSubtleBrush" Color="{StaticResource PhoneSubtleColor}"/>

<SolidColorBrush x:Key="PhoneButtonBasePressedForegroundBrush" Color="{StaticResource PhoneButtonBasePressedForegroundColor}"/>

<SolidColorBrush x:Key="PhoneRadioCheckBoxBrush" Color="Transparent"/>

<SolidColorBrush x:Key="PhoneRadioCheckBoxBorderBrush" Color="{StaticResource PhoneForegroundColor}"/>

<SolidColorBrush x:Key="PhoneRadioCheckBoxCheckBrush" Color="{StaticResource PhoneForegroundColor}"/>

<SolidColorBrush x:Key="PhoneRadioCheckBoxPressedBrush" Color="{StaticResource PhoneAccentColor}"/>

<SolidColorBrush x:Key="PhoneDisabledBrush" Color="{StaticResource PhoneDisabledColor}"/>

<SolidColorBrush x:Key="TransparentBrush" Color="Transparent"/>

<SolidColorBrush x:Key="PhoneSemitransparentBrush" Color="{StaticResource PhoneSemitransparentColor}"/>

<SolidColorBrush x:Key="PhoneChromeBrush" Color="{StaticResource PhoneChromeColor}"/>

<SolidColorBrush x:Key="PhoneAccentBrush" Color="{StaticResource PhoneAccentColor}"/>

<SolidColorBrush x:Key="PhoneProgressBarBackgroundBrush" Color="{StaticResource PhoneProgressBarBackgroundColor}"/>


<!--Windows Phone 8 Text brushes-->

<SolidColorBrush x:Key="PhoneTextHighContrastBrush" Color="{StaticResource PhoneTextHighContrastColor}"/>

<SolidColorBrush x:Key="PhoneTextMidContrastBrush" Color="{StaticResource PhoneTextMidContrastColor}"/>

<SolidColorBrush x:Key="PhoneTextLowContrastBrush" Color="{StaticResource PhoneTextLowContrastColor}"/>


<!-- Deprecated brushes -->

<SolidColorBrush x:Key="PhoneInactiveBrush" Color="{StaticResource PhoneInactiveColor}"/>

<SolidColorBrush x:Key="PhoneInverseInactiveBrush" Color="{StaticResource PhoneInverseInactiveColor}"/>

<SolidColorBrush x:Key="PhoneInverseBackgroundBrush" Color="{StaticResource PhoneInverseBackgroundColor}"/>

<SolidColorBrush x:Key="PhoneBorderBrush" Color="{StaticResource PhoneBorderColor}"/>


<!-- Touch Target area -->
<Thickness x:Key="PhoneTouchTargetOverhang">12</Thickness>

<!-- Touch Target area for CheckBox / RadioButton -->
<Thickness x:Key="PhoneTouchTargetLargeOverhang">12,20</Thickness>

<!-- Default margins for non-touch items -->
<Thickness x:Key="PhoneHorizontalMargin">12,0</Thickness>
<Thickness x:Key="PhoneVerticalMargin">0,12</Thickness>
<Thickness x:Key="PhoneMargin">12</Thickness>

<!-- Inner margins for text controls -->
<Thickness x:Key="PhoneTextBoxInnerMargin">1,2</Thickness>
<Thickness x:Key="PhonePasswordBoxInnerMargin">3,2</Thickness>

<!-- Default border size-->
<Thickness x:Key="PhoneBorderThickness">3</Thickness>

<!-- Default stroke for RadioButton -->
<System:Double x:Key="PhoneStrokeThickness">3</System:Double>

<!-- Font names -->
<FontFamily x:Key="PhoneFontFamilyNormal">Segoe WP</FontFamily>
<FontFamily x:Key="PhoneFontFamilyLight">Segoe WP Light</FontFamily>
<FontFamily x:Key="PhoneFontFamilySemiLight">Segoe WP SemiLight</FontFamily>
<FontFamily x:Key="PhoneFontFamilySemiBold">Segoe WP Semibold</FontFamily>
<FontFamily x:Key="PhoneFontFamilyBold">Segoe WP Bold</FontFamily>

<!-- Font sizes -->

<!--14pt-->
<System:Double x:Key="PhoneFontSizeSmall">18.667</System:Double>
<!--15pt-->
<System:Double x:Key="PhoneFontSizeNormal">20</System:Double>
<!--17pt-->
<System:Double x:Key="PhoneFontSizeMedium">22.667</System:Double>
<!--19pt-->
<System:Double x:Key="PhoneFontSizeMediumLarge">25.333</System:Double>
<!--24pt-->
<System:Double x:Key="PhoneFontSizeLarge">32</System:Double>
<!--32pt-->
<System:Double x:Key="PhoneFontSizeExtraLarge">42.667</System:Double>
<!--54pt-->
<System:Double x:Key="PhoneFontSizeExtraExtraLarge">72</System:Double>
<!--140pt-->
<System:Double x:Key="PhoneFontSizeHuge">186.667</System:Double>


<!-- TextBlock styles -->

<Style x:Key="PhoneTextBlockBase" TargetType="TextBlock">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilyNormal}"/>
  <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeNormal}"/>
  <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
  <Setter Property="Margin" Value="{StaticResource PhoneHorizontalMargin}"/>
</Style>

<Style x:Key="PhoneTextNormalStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}" />
  
<Style x:Key="PhoneTextSubtleStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="Foreground" Value="{StaticResource PhoneSubtleBrush}"/>
</Style>

<Style x:Key="PhoneTextTitle1Style" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeExtraExtraLarge}"/>
</Style>

<Style x:Key="PhoneTextTitle2Style" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeLarge}"/>
</Style>

<Style x:Key="PhoneTextTitle3Style" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeMedium}"/>
</Style>

<Style x:Key="PhoneTextExtraLargeStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeExtraLarge}"/>
</Style>

<Style x:Key="PhoneTextGroupHeaderStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeLarge}"/>
  <Setter Property="Foreground" Value="{StaticResource PhoneSubtleBrush}"/>
</Style>

<Style x:Key="PhoneTextLargeStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeLarge}"/>
</Style>

<Style x:Key="PhoneTextSmallStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeSmall}"/>
  <Setter Property="Foreground" Value="{StaticResource PhoneSubtleBrush}"/>
</Style>

<Style x:Key="PhoneTextContrastStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
  <Setter Property="Foreground" Value="{StaticResource PhoneContrastForegroundBrush}"/>
</Style>

<Style x:Key="PhoneTextAccentStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
  <Setter Property="Foreground" Value="{StaticResource PhoneAccentBrush}"/>
</Style>

<Style x:Key="PhoneTextHugeStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilyLight}"/>
  <Setter Property="FontSize" Value="{StaticResource PhoneFontSizeHuge}"/>
</Style>



<!-- Panorama -->

<System:Double x:Key="PanoramaItemCharacterSpacing">-35</System:Double>

<!--50pt-->
<System:Double x:Key="PanoramaItemHeaderFontSize">66</System:Double>

<Style x:Key="PanoramaItemHeaderTextStyle" TargetType="TextBlock">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource PanoramaItemHeaderFontSize}"/>
  <Setter Property="CharacterSpacing" Value="{StaticResource PanoramaItemCharacterSpacing}"/>
</Style>

<!-- Pivot -->

<!--17pt-->
<System:Double x:Key="PivotTitleFontSize">22.667</System:Double>

<Style x:Key="PivotTitleStyle" TargetType="ContentControl">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
  <Setter Property="FontSize" Value="{StaticResource PivotTitleFontSize}"/>
</Style>


<!-- LongListSelector -->

<!-- GroupHeader -->

<!-- 22pt -->
<System:Double x:Key="LongListSelectorGroupHeaderFontSize">29.333</System:Double>

<!-- 32pt -->
<System:Double x:Key="LongListSelectorGroupHeaderLetterTileFontSize">42.667</System:Double>

<Style x:Key="LongListSelectorGroupHeaderStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontSize" Value="{StaticResource LongListSelectorGroupHeaderFontSize}"/>
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
  <Setter Property="Foreground" Value="{StaticResource PhoneAccentBrush}"/>
</Style>

<Style x:Key="LongListSelectorGroupHeaderLetterTileStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontSize" Value="{StaticResource LongListSelectorGroupHeaderLetterTileFontSize}"/>
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
</Style>

<!-- Jumplist -->

<!-- JumpList Strings -->

<!-- 20pt -->
<System:Double x:Key="JumpListStringFontSize">26.667</System:Double>

<Style x:Key="JumpListStringStyle" TargetType="TextBlock">
  <Setter Property="FontSize" Value="{StaticResource JumpListStringFontSize}"/>
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
  <Setter Property="Foreground" Value="{StaticResource PhoneTextHighContrastBrush}"/>
</Style>

<!-- JumpList Alphabet Small (for international text) -->

<!-- 28pt -->
<System:Double x:Key="JumpListAlphabetSmallFontSize">37.333</System:Double>

<Style x:Key="JumpListAlphabetSmallStyle" TargetType="TextBlock">
  <Setter Property="FontSize" Value="{StaticResource JumpListAlphabetSmallFontSize}"/>
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilyBold}"/>
  <Setter Property="Foreground" Value="{StaticResource PhoneTextHighContrastBrush}"/>
</Style>

<!-- JumpList Alphabet -->

<!-- 36pt -->
<System:Double x:Key="JumpListAlphabetFontSize">48</System:Double>

<Style x:Key="JumpListAlphabetStyle" TargetType="TextBlock">
  <Setter Property="FontSize" Value="{StaticResource JumpListAlphabetFontSize}"/>
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiBold}"/>
  <Setter Property="Foreground" Value="{StaticResource PhoneTextHighContrastBrush}"/>
</Style>

<!--EmptyList -->

<!--24pt-->
<System:Double x:Key="EmptyListHeaderFontSize">32</System:Double>

<Style x:Key="EmptyListHeaderStyle" TargetType="TextBlock" BasedOn="{StaticResource PhoneTextBlockBase}">
  <Setter Property="FontFamily" Value="{StaticResource PhoneFontFamilySemiLight}"/>
  <Setter Property="FontSize" Value="{StaticResource EmptyListHeaderFontSize}"/>
  <Setter Property="Foreground" Value="{StaticResource PhoneTextMidContrastColor}"/>
</Style>
</ResourceDictionary>

  